package ooday05_vis;

public enum Seasons {
    //public static final Seasons SPRING = new Seasons("春天","万物复苏");
    SPRING("春天", "万物复苏"),
    SUMMER("夏天", "电闪雷鸣"),
    AUTUMN("秋天", "秋高气爽"),
    WINTER("冬天", "大雪纷飞");
    private String seasonName;
    private String seasonDesc;

    private Seasons(String seasonName, String seasonDesc) {//构造方法默认只能私有
        this.seasonName = seasonName;
        this.seasonDesc = seasonDesc;
    }

    public String getSeasonName() {
        return seasonName;
    }

    public void setSeasonName(String seasonName) {
        this.seasonName = seasonName;
    }

    public String getSeasonDesc() {
        return seasonDesc;
    }

    public void setSeasonDesc(String seasonDesc) {
        this.seasonDesc = seasonDesc;
    }
}
